<!DOCTYPE html>
<html lang="en">
<!-- 消防物资类型 -->

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>物资管理</title>
    <link rel="icon" href="../static/img/icon.png">
    <link rel="stylesheet" href="../static/js/layui/css/layui.css">
    <link rel="stylesheet" href="../static/css/animate.min.css">
    <link rel="stylesheet" href="../static/css/style.css">

    <style>
        .layui-layer:has(#operate-form) {
            background-color: #1b3f46;
            background-image: linear-gradient(#1B3F46, #112937);
        }

        .layui-layer-page .layui-layer-content:has(#operate-form) {
            overflow: inherit;
        }

        .layui-btn+.layui-btn:not(.add) {
            margin-left: 0.1rem;
        }

        .layui-form input {
            width: 2rem;
        }

        #qr-container {
            position: relative;
            width: 500px;
            height: 500px;

            &::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                bottom: 0;
                right: 0;
                background: linear-gradient(45deg, #168e78, #0b80ae);
                mix-blend-mode: lighten;
            }
        }

        .tab-title {
            width: 100%;
            height: 0.4rem;
            display: flex;
            align-items: center;
            color: #E2F1FF;
            position: relative;
            text-indent: 0.1rem;

            &::before {
                content: "";
                position: absolute;
                width: 0.04rem;
                height: 0.18rem;
                left: 0;
                background-color: #3EEBDD;
            }
        }

        .tab-item {
            width: 100%;
            border-radius: 0.04rem;
            background-color: #153640;
            border: 1px solid #2C6F79;
            display: flex;
            padding: 0.2rem;
            flex-wrap: wrap;
            >div{
                margin: 0.1rem 0;
            }
        }
    </style>
</head>

<body>
    <div class="app" style="overflow: hidden;">
        <div class="header animate__animated animate__slideInDown">
            <div class="header-title">训战研判系统平台</div>
            <div class="header-menu">

            </div>
        </div>
        <div class="contain">
            <div class="contain-menu animate__animated animate__slideInLeft">

            </div>
            <div class="contain-table">
                <div class="contain-table-tool">
                    <form class="layui-form" action=""
                        style="background: linear-gradient(to right, rgba(0,0,0,0),rgba(2, 36, 55,0.8));padding-left: 0.05rem;">
                        <div class="form-item">
                            <input type="text" name="name" placeholder="类型名称" class="layui-input" lay-affix="clear" />
                        </div>
                        <div class="form-item">
                            <input type="text" name="code" placeholder="编码查询" class="layui-input" lay-affix="clear" />
                        </div>
                        <select name="needCharge" lay-filter="needCharge">
                            <option value="">是否需要充电</option>
                            <option value="1">需要</option>
                            <option value="0">不需要</option>
                        </select>
                        <select name="status" lay-filter="status">
                            <option value="">物资状态</option>
                            <option value="1">待入库</option>
                            <option value="2">已入库</option>
                            <option value="3">已出库</option>
                            <option value="4">已出借</option>
                            <option value="5">已归还</option>
                        </select>
                        <select name="typeId" id="search-type" lay-search="{fuzzy: true}" lay-filter="searchType">
                        </select>
                        <div class="layui-btn" lay-submit lay-filter="search"><img src="../static/img/icon2.png">查询
                        </div>
                        <div class="layui-btn add" onclick="tableHandle(3)"><img src="../static/img/icon1.png">新增</div>
                        <div class="layui-btn" onclick="tableHandle(5)" style="width: 1.6rem;"><img
                                src="../static/img/icon4.png">批量下载二维码</div>

                        <button type="reset" id="resetSearch"
                            class="layui-btn layui-btn-primary btn-reset layui-hide">重置</button>
                    </form>
                </div>
                <div class="contain-table-list" id="contain-table-list">
                    <table id="table" lay-filter="table"></table>
                </div>
            </div>

        </div>
    </div>

    <img id="qr-logo" src="../static/img/qr.png" style="display: none;">
    <div id="qr-container" style="display: none;"></div>

    <script type="text/javascript" src="../static/js/util/jquery.min.js"></script>
    <script type="text/javascript" src="../static/js/biz/app.js"></script>
    <script type="text/javascript" src="../static/js/layui/layui.js"></script>
    <script type="text/javascript" src="../static/js/biz/materials.js"></script>
    <script type="text/javascript" src="../static/js/util/code/FileSaver.js"></script>
    <script type="text/javascript" src="../static/js/util/code/jqueryqr.js"></script>
    <script type="text/javascript" src="../static/js/util/code/jszip.js"></script>
    <script type="text/javascript" src="../static/js/util/code/qrcode.js"></script>
</body>

</html>